<?php
session_start();
if(isset($_SESSION['authority'])){
	$authority = $_SESSION['authority'];
	$userName = $authority['userName'];
	$role = $authority['role'];
	/////////////////////    asdfasdf/fffff.php
	$fileName = $_SERVER['PHP_SELF'];
	//                            //后面的字母                                     //子串的长度,或者负数(表示位置)     
	$menuName = substr($fileName, 1+strrpos($fileName,"/"),strrpos($fileName,".")-strlen($fileName));
}else{
	
}
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
      <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>非授课工作量管理系统</title>
	<!-- BOOTSTRAP STYLES-->
    <link href="assets/css/bootstrap.css" rel="stylesheet" />
     <!-- FONTAWESOME STYLES-->
    <link href="assets/css/font-awesome.css" rel="stylesheet" />
     <!-- MORRIS CHART STYLES-->
    <link href="assets/js/morris/morris-0.4.3.min.css" rel="stylesheet" />
        <!-- CUSTOM STYLES-->
    <link href="assets/css/custom.css" rel="stylesheet" />
     <!-- GOOGLE FONTS-->
   <link href="assets/css/opensans.css" rel='stylesheet' type='text/css' />
</head>
<body>
    <div id="wrapper">
        <nav class="navbar navbar-default navbar-cls-top " role="navigation" style="margin-bottom: 0">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="index.php">非授课工作量</a> 
            </div>
  <div style="color: white;
padding: 15px 50px 5px 50px;
float: right;
font-size: 16px;"> 用户名:<?=$userName?> ,<?=$role?>&nbsp; <a href="logout.php" class="btn btn-danger square-btn-adjust">退出</a> </div>
        </nav>  
